//
//  GPoint.hpp
//  dot
//
//  Created by zz on 2019/6/20.
//

#ifndef GPoint_hpp
#define GPoint_hpp

#include <stdio.h>
#include "cocos2d.h"

using namespace cocos2d;

class GPoint : public Sprite{
    
public:
    static GPoint* create(Vec2 pos);
    bool init(Vec2 pos);
    void toFadeOut();
    float getR();
private:
    float r;
};

#endif /* GPoint_hpp */
